function SceneGame3()
{		
	this.intro = new Game3SceneIntro();
	this.level1 = new Game3SceneLevel1();
	this.theEnd = new Game3SceneTheEnd();
	this.gameover = new Game3SceneGameOver();
	
	this.GAMESCENE = { INTRO: 0, LEVEL1: 1, THEEND: 2, GAMEOVER: 3};
	
	this.currentGameScene = this.GAMESCENE.INTRO; 
	
	this.update=function()
	{			
		switch(this.currentGameScene)
		{
			case this.GAMESCENE.INTRO:
				
				this.intro.update();
			break;
			case this.GAMESCENE.LEVEL1:
				this.level1.update();
			break;
			case this.GAMESCENE.THEEND:
				this.theEnd.update();
			break;
			case this.GAMESCENE.GAMEOVER:
				this.gameover.update();
			break;
		}
	}

	this.draw=function()
	{			
		switch(this.currentGameScene)
		{
			case this.GAMESCENE.INTRO:
				this.intro.draw();
				
			break;
			case this.GAMESCENE.LEVEL1:
				this.level1.draw();
			break;
			case this.GAMESCENE.THEEND:
				this.theEnd.draw();
			break;
			case this.GAMESCENE.GAMEOVER:
				this.gameover.draw();
			break;
		}
	}
	
	this.mouse_down=function(mouse)
   	{
		switch(this.currentGameScene)
		{
			case this.GAMESCENE.INTRO:
			{
				//this.currentGameScene = this.GAMESCENE.LEVEL1;
			}
			break;
			case this.GAMESCENE.LEVEL1:
				//this.currentGameScene = this.GAMESCENE.THEEND;
				this.level1.mouse_down(mouse);
			break;
			case this.GAMESCENE.THEEND:
				//this.currentGameScene = this.GAMESCENE.GAMEOVER;
			break;
			case this.GAMESCENE.GAMEOVER:
				//this.currentGameScene = this.GAMESCENE.INTRO;
				//currentScene = SCENE.MENU;
			break;
		}	
	}

	this.key_down=function(key)
   
   	{
   		console.log("LEVEL1 keyCode " + key.keyCode );
   		this.level1.key_down(key);
   		this.intro.key_down(key);
   		
   		
   	};

	this.key_up=function(key)
    {
   		this.level1.key_up(key);
   		this.intro.key_up(key);
    };
}